<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>Customer Orders</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<link rel="stylesheet" type="text/css" href="mos-css/mos-style.css">
<script src="js/adminscript.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
<div class="inHeader">
		<div class="mosAdmin">Hello, <?php echo $adminName?>!<a href="adminlogout.php"> <br>Logout</a></div>
<div class="clear"></div>
</div>
</div>
<div id="wrapper">
<div id="leftBar">
<ul>
	<li><a href="adminindex.jsp">Dashboard</a></li>
	<li><a href="admincustomer.jsp">Customers</a></li>
	<li><a href="admininventory.jsp">Inventory</a></li>
	<li><a href="adminorders.jsp">Sales</a></li>
	<li><a href="adminreport.jsp">Reports</a></li>
</ul>
</div>
<div id="rightContent">
<h3>Customer Orders </h3>
<table class="data" style="text-align:center">
<tbody>
<tr>
<td colspan="7" align="right">Sort
By:&nbsp;
<select id="sort" name="sort">
	<option value="OrderID">Order ID</option>
	<option value="CustomerID">Customer ID</option>
	<option value="Total">Price</option>
	<option value="OrderDate">Order Date</option>
	<option value="o.StatusID">Status</option>
	<option value="o.RequestID">Request</option>
</select>
<select name="order" id="order">
<option value="asc">Ascending</option>
<option value="desc">Descending</option>
</select>
<input class="button" value="Update" type="button" onclick="sortOrders();">
</td>
</tr>
<tr class="data">
<th class="data" width="30">#</th>
<th class="data">Order ID</th>
<th class="data">Customer ID</th>
<th class="data">Total Price</th>
<th class="data">Order Date</th>
<th class="data">Status</th>
<th class="data">Cancel/Return</th>
</tr>
</tbody>
</table>
</div>
<div class="clear"></div>
<div id="footer"> &copy; 2012 MOS css template | <a href="#">EBGames</a> | design <a href="http://arirusmanto.com" rel="nofollow" target="_blank">arirusmanto.com</a><br></div>
</div>
</body></html>